#ifndef MYPUSHBUTTON_H
#define MYPUSHBUTTON_H

#include <QPushButton>

//MyPushButton继承Qweight,QPUshButton类
class MyPushButton : public QPushButton
{
    Q_OBJECT
public:
    //正常显示和按下后显示图片路径
   MyPushButton(QString normalImg,QString pressImg="");

   //成员属性，保存用户传入的路径
   QString normalImgPath;
   QString pressImgPath;

   //弹跳特效
   void zoom1();//向下
   void zoom2();//向上

signals:

public slots:
};

#endif // MYPUSHBUTTON_H
